package com.kgc.fk.dao;

import com.kgc.collection.pojo.Refund;
import com.kgc.collection.pojo.RefundDetail;
import com.kgc.collection.pojo.RefundOrder;

import java.util.List;
import java.util.Map;

public interface RefundDao {
    List<Refund> getRefundList(Map<String, Object> map);
    List<RefundOrder> getRefundType();

    int updateRefund(Map<String, Object> map);

    int addRefund(Map<String, Object> map);
    int addRefundDetail(Map<String, Object> map);

    List<RefundDetail> getRefundDetail(String code);

    int delRefundDetail(String code);
    int modiRefund(Map<String, Object> map);
}
